package com.cqfae.deploycentral.app.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SSOLoginInterceptorConfig {
/*
	@Bean
	public LoginInterceptor getLoginInterceptor() {
		LoginInterceptor loginInterceptor = new LoginInterceptor();
		return loginInterceptor;
	}

	@Bean(name="tokenJerseyService")
	public JerseyService getTokenJerseyService() {
		JerseyService jerseyService = new JerseyService();
		jerseyService.setConnectTime("3000");
		jerseyService.setReadTime("3000");
		JerseyHost host = new JerseyHost();
		host.setHostURI(System.getProperty("user_token_url"));
		jerseyService.setHost(host);
		return jerseyService;
	}
	
	@Bean(name="pingangwJerseyService")
	public JerseyService getPingangwJerseyService() {
		JerseyService jerseyService = new JerseyService();
		jerseyService.setConnectTime("3000");
		jerseyService.setReadTime("3000");
		JerseyHost host = new JerseyHost();
		host.setHostURI(System.getProperty("pingan_gw_url"));
		jerseyService.setHost(host);
		return jerseyService;
	}
*/
}
